import { createContext } from 'react';

interface MenuContextType {
  menu: AnyObject[];
  setMenu(menu: AnyObject[]): void;
}

// 创建Context
const MenuContext = createContext<MenuContextType | null>(null);

export default MenuContext;
